package Thread;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}23:44
 */
public class DCL {
    private volatile DCL INSTNACE;

    public DCL getINSTNACE() {
        if (INSTNACE == null){
            synchronized (DCL.class){
                if (INSTNACE == null) {
                    INSTNACE = new DCL();
                }
            }
        }
        return INSTNACE;
    }
}
